473,419 Members | 1,524 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,419 software developers and data experts.

4 Drop Down Boxes in HTML

I have 4 drop down lists, namely Location, country, State and City.
Ex: Location: Asia, Country: India, State: Andhra Pradesh, City: Hyderabad.

If i select any option in the Location drop down list, it should populate the
country drop down list, and if i select an option in country drop down list,
it should populate the state drop down list, and if i select any option in the state
drop down list, it should populate the city drop down list.

How can this functionality be achieved using HTML/Javascript?
Any one, please present the sample working code.
Nov 27 '07 #1
8 3289
You can post your reply to :
xxxx
I will be most happy if you do that.
Nov 27 '07 #2
drhowarddrfine
7,435 Expert 4TB
HTML cannot do this so I'll transfer you to the javascript board.
Nov 27 '07 #3
mzmishra
390 Expert 256MB
how you are getting the data for each dropdown box.?

You can write codes for onchange event of each dropdown and populate the related dropdown based on the selected value
Nov 27 '07 #4
[color=#105cb6][/color]hi dskanth,


can u send a mail to me

**** - removed email

Note : mention subject as "Problem"

I'll send u code for that drop down boxes...


Best wishes,
ift40458
Nov 28 '07 #5
acoder
16,027 Expert Mod 8TB
I have removed your email for your own protection - see FAQ.
Nov 28 '07 #6
MR. acoder

We can't show some coding( As per Company Rules)

If i show that codes here , Company will object that.


Only for that sake i'd asked him to mail me...

Any suggestions pls.............

regards,
ift40458.
vbmenu_register("postmenu_2958058", true);
Nov 28 '07 #7
acoder
16,027 Expert Mod 8TB
We can't show some coding( As per Company Rules)

If i show that codes here , Company will object that.
You can try using the PM (private messaging) facility. I have to ask though, if the company would object to displaying the code here, then how is giving that same code to someone via email different?
Nov 28 '07 #8
Ok fine acoder,

Thanks for giving me the information about Private Messaging...



regards,
ift40458
Nov 29 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: PT | last post by:
I got a form with many text boxes, checkboxes and 3 drop downs. From that 3, 2 are dependant. I can choose one drop down, and the next drop down should display the dependant values of the first...
0
by: Leigh | last post by:
I am building a data entry application using Java servlets. I had hoped to use drop down boxes to provide the user with data entry selections pulled from a database, but am now questioning, given...
4
by: Dan | last post by:
Can anyone offer suggestions on how to do this or if it is possible? I have a form that uses a drop down box and 2 text fields. What I am trying to do is have the value of each text box set by...
5
by: MasterChief | last post by:
I have 3 drop down boxes on the same page. Each one is being populated by a database. One is called Location, One is called Device and the other one is called Job Title. When the user selects...
2
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
5
by: Vigneshwar Pilli via DotNetMonster.com | last post by:
string connectionString1 = "server=(local); user=sa;password=sa; database=sonic"; System.Data.SqlClient.SqlConnection dbConnection1 = new System.Data.SqlClient.SqlConnection(connectionString1);...
7
by: callawayglfr | last post by:
I am building a database in access where I have a drop down box that relates to a text box, that part I have working but when someone selects information from the first drop down I need it to limit...
2
by: ckerns | last post by:
I have a page with a bunch of drop down boxes. They are named: MonEquipAMWk1 MonEquipPMWk1 thru FriEquipAMWk1 FriEquipPMWk1
4
by: teknoshock | last post by:
I have created a page with multiple drop down boxes, all populated with the same options. My problem is, for 12 dropdown boxes and 40 choices per box, I end up with a massive file. Also, if I...
3
by: amcoldspy | last post by:
Hi, am trying to create dynamic drop down boxes.. there are 3 drop down boxes. The second drop down box elements are to be update based on the selection made in the first drop down box...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.